The Design and Performance Evaluation of a Lock Manager for a Memory-Resident Database System
نویسندگان
چکیده
In the last fteen years, lock managers for regular disk-based database systems have seen little change. This is not without reason, since traditional memory-resident lock managers have always been much faster than disk-based database storage managers and disk-based database systems had few alternative design options. However, the introduction of memory-resident database systems has created both new requirements and new opportunities for better lock managers. We present the design of a lock manager that exploits the special nature of the memory-resident storage component in the Starburst experimental database system. To achieve a performance advantage over traditional lock managers, our lock manager physically attaches concurrency control meta-data to the database data itself, thereby making the meta-data directly accessible, rather than indirectly accessible via a hash-table structure. Furthermore, our lock manager eliminates intention locks and changes the lock granularity of each relation dynamically to achieve high performance while ensuring a high level of sharing. Performance experiments comparing our lock manager with the default Starburst lock manager show that these basic design choices can provide signiicant performance gains.
منابع مشابه
Locking and Latching in a Memory-Resident Database System
As part of the Starburst extensible database project developed at the IBM Almaden Research Center, we designed and implemented a memory-resident storage component that co-exists with Star-burst’s diskoriented storage component. The two storage components share the same common services, such as query optimization, transaction management, etc. However, the memory-resident storage component is fas...
متن کاملLocking Protocols for Large - ScaleCache - Coherent Shared Memory
Signiicant performance advantages can be realized by implementing a database system on a cache-coherent shared memory multiprocessor. An eecient implementation of a lock manager is a prerequisite for eecient transaction processing in multiprocessor database systems. To this end, we examine two approaches to the implementation of locking in a cache-coherent shared memory multiprocessor database ...
متن کاملcient Locking for Shared Memory Database Systems 1
Signi cant performance advantages can be realized by implementing a database system on a shared memory multiprocessor. An e cient implementation of a lock manager is a prerequisite for e cient transaction processing in multiprocessor database systems. To this end, we advocate adopting an autonomous locking strategy. In autonomous locking, transactions acquire and release locks via operations on...
متن کاملDesign of an anti-lock regenerative braking system for a series hybrid electric vehicle
In this paper, an adaptive rule based controller for an anti-lock regenerative braking system (ARBS) of a series hybrid electric bus (SHEB) has been proposed. The proposed controller integrates the regenerative braking and wheel anti-lock functions by controlling the electric motor of the hybrid vehicle, without using any conventional mechanical anti-lock braking system. The performance of the ...
متن کاملA A Scalable Lock Manager for Multicores
Modern implementations of DBMS software are intended to take advantage of high core counts that are becoming common in high-end servers. However, we have observed that several database platforms, including MySQL, Shore-MT, and a commercial system, exhibit throughput collapse as load increases into over-saturation (where there are more request threads than cores), even for a workload with little...
متن کامل